keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

Oslec Echo Canceller installation on A400P / Trixbox 2.8

13 years 8 months ago #6040 by lisa.gao
Hi,
You should download dahdi the same version as trixbox. Then run the following command. Please replace the path /usr/src/dahdi/drivers/dahdi/Kbuild with the path of your system.

cd /usr/src
wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2
tar xjf linux-2.6.28.tar.bz2
mkdir /usr/src/dahdi/drivers/staging
cp -fR /usr/src/linux-2.6.28/drivers/staging/echo /usr/src/dahdi/drivers/staging
sed -i "s|#obj-m += dahdi_echocan_oslec.o|obj-m += dahdi_echocan_oslec.o|" /usr/src/dahdi/drivers/dahdi/Kbuild
sed -i "s|#obj-m += ../staging/echo/|obj-m += ../staging/echo/|" /usr/src/dahdi/drivers/dahdi/Kbuild
echo 'obj-m += echo.o' > /usr/src/dahdi/drivers/staging/echo/Kbuild
cd /usr/src/dahdi/
make
make install

Best regards!

13 years 8 months ago #6042 by Paddy_ot
Hi Lisa,

Thanks for the reply

I have downloaded the dahdi source version 2.2.0 the same as my Trixbox 2.8.0.1

I have the dahdi source sitting in /usr/src/dahdi

You said " Please replace the path /usr/src/dahdi/drivers/dahdi/Kbuild with the path of your system"

What do you mean the path to my system? Is this the path to the source files sitting in /usr/src/dahdi?

If so I tried this and it has not helped.

Regards
13 years 8 months ago #6043 by lisa.gao
Hi,
Assume that you download dahdi-linux-complete-2.2.0+2.2.0
You should execute the command like this:
sed -i "s|#obj-m += dahdi_echocan_oslec.o|obj-m += dahdi_echocan_oslec.o|" /usr/src/dahdi-linux-complete-2.2.0+2.2.0/drivers/dahdi/Kbuild
Others command is similar.

Best regards!

13 years 8 months ago #6044 by james.zhu
hi:
try: yum install oslec-modules

13 years 8 months ago #6046 by Paddy_ot
Hi James,

The module downloaded and installed ok

I have an a400p card with 4 x FXO modules

How do I configure the card / Modules to use the OSLEC echo canceller. The echo is all on my end. Please see below:

[trixbox1.localdomain ~]# dahdi_scan
[1]
active=yes
alarms=OK
description=Wildcard TDM400P REV E/F Board 5
name=WCTDM/4
manufacturer=Digium
devicetype=Wildcard TDM400P REV E/F
location=PCI Bus 01 Slot 09
basechan=1
totchans=4
irq=82
type=analog
port=1,FXO
port=2,FXO
port=3,FXO
port=4,FXO
13 years 8 months ago #6047 by lisa.gao
Hi,
vi /etc/dahdi/genconf_parameters
add this: echo_can oslec
THen execute:
dahdi_genconf
dahdi_cfg -vvvv
It will show as the following:
Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 04)

4 channels to configure.

Setting echocan for channel 1 to oslec
Setting echocan for channel 2 to oslec
Setting echocan for channel 3 to oslec
Setting echocan for channel 4 to oslec

Time to create page: 0.045 seconds
Powered by Kunena Forum